/**
 * ____________________ *
 *  ____ ____ ____ _  _ *
 *  |___ [__] |--< |\/| *
 * ____________________ *
 *
 * THE CORM PROJECT
 *
 * This file may only be used in accordance with the
 * terms of the Academic Free License ("AFL") v. 3.0,
 * as published by the Open Software Initiative.  A
 * copy of this license is provided in this source
 * release, and may be viewed online at:
 *
 * (http://www.opensource.org/licenses/afl-3.0.php)
 */
package org.eremite.corm.crm;

import org.eremite.corm.BaseArchetype;

import java.util.Date;
import java.util.Set;

public class CustomerServiceCase extends BaseArchetype {

    public static final int PENDING = 0;
    public static final int OPEN = 1;
    public static final int CLOSED = 2;

    private long ID;
    private long raisedBy;
    private Date startDate;
    private Date endDate;
    private int status;
    private Priority priority;
    private Set<CommunicationThread> communicationThreads;

    public long getID() {
        return ID;
    }

    public void setID(long ID) {
        this.ID = ID;
    }

    public long getRaisedBy() {
        return raisedBy;
    }

    public void setRaisedBy(long raisedBy) {
        this.raisedBy = raisedBy;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Priority getPriority() {
        return priority;
    }

    public void setPriority(Priority priority) {
        this.priority = priority;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Set<CommunicationThread> getCommunicationThreads() {
        return communicationThreads;
    }

    public void setCommunicationThreads(Set<CommunicationThread> communicationThreads) {
        this.communicationThreads = communicationThreads;
    }
}
